﻿{% load i18n %}
<html>
  <head>
    <!--Shoul be cool to use google.com/jsapi to get jquery library but we are not
    sure to have internet in the climbing center so we will use a static version.-->
    <!--script src="http://www.google.com/jsapi"></script>
    <script type="text/javascript">
        // Load jQuery
        google.load("jquery", "1");
    </script-->
    <script type="text/javascript" src="/static/javascript/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="/static/javascript/jquery.tablesorter.min.js"></script>
    <link type="text/css" rel="stylesheet" href="/static/css/blueprint/screen.css">
    <link type="text/css" rel="stylesheet" href="/static/css/blueprint/src/typography.css">
    <link type="text/css" rel="stylesheet" href="/static/css/base.css">
    <link type="text/css" rel="stylesheet" href="/static/css/table.css">
    <title>CasseBras Popular Contest: {% block title %}{% endblock %}</title>
    {% block extrahead %}{% endblock %}
  </head>
  <body>
    <div class="container large">
        {% block header %}
        <div class="column prepend-1 span-23 last">
            <div class="prepend-1 span-22 last navigation">
                <div id="onglet" class="span-4">
                    <a href="{% url contest %}">{% trans "Ranking" %}</a>
                </div>
                <div id="onglet" class="span-4">
                    <a href="/admin">Admin</a>
                </div>
                <div id="onglet" class="span-4">
                    <a href="{% url categories %}">{% trans "Categories" %}</a>
                </div>
                <div id="onglet" class="span-4">
                    <a href="{% url competitors %}">{% trans "Competitors" %}</a>
                </div>
                <div id="" class="span-4 append-1 prepend-1 last">
                    <form action="{% url search %}" method="GET">
                        <div>
                        <input class="textbox searchbox" type="text" name="q" value="{% trans "Search" %}" size="28" maxlength="80" onfocus="if (this.value=='{% trans "Search" %}') this.value=''" tabindex="1" value="Search">
                        </div>
                    </form>
                </div>
            </div>
        </div>
        {% endblock %}
        <br class="clear"/>
        
        <div id="content" class="column span-19 prepend-top">
          {% block content %}{% endblock %}
        </div>
        <div id="sidebar" class="column span-5 last prepend-top">
          <table class="ranking">
            <tbody>
                <tr class="normal">
                    <th>{% trans "Organisators" %}:</th>
                </tr>
                <tr class="normal">
                    <td><img src="/static/images/asen.png"/ height="100px"></td>
                </tr>
                <tr class="normal">
                    <th>{% trans "Sponsors" %}:</th>
                </tr>
                <tr class="normal">
                    <td><img src="/static/images/defi-montagne.png"/ height="200px"></td>
                </tr>
            </tbody>
          </table>                          
          {% block sidebar %}
          {% endblock %}
        </div>
    </div>
  </body>
</html>

